import os
import configparser

root=os.path.split(os.path.realpath(__file__))[0]
configpath=os.path.join(root,"config.ini")
class Read:
    def __init__(self):
        self.cf=configparser.ConfigParser();
        self.cf.read(configpath,encoding="utf-8")

    def get_url(self,name):
        value=self.cf.get("URL",name)
        return value

